package cn.yuanqiao.cqbc.yqSetPlate.mapper;

import cn.yuanqiao.cqbc.yqSetPlate.domain.YqSetPlateRule;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 组盘规则表 Mapper 接口
 * </p>
 *
 * @author lyk
 * @since 2022-11-22
 */
public interface YqSetPlateRuleMapper {

    /**
     * 获取列表
     *
     * @author lyk
     * @Date 2022-11-22
     */
    List<YqSetPlateRule> customList(@Param("paramCondition") YqSetPlateRule paramCondition);

    /**
     * 获取map列表
     *
     * @author lyk
     * @Date 2022-11-22
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") YqSetPlateRule paramCondition);

    int add(YqSetPlateRule yqSetPlateRule);

    int update(YqSetPlateRule yqSetPlateRule);

    int delete(Long id);

    YqSetPlateRule getById(Long id);

    /**
     * 获取分页实体列表
     *
     * @author lyk
     * @Date 2022-11-22
     */
    //Page<YqSetPlateRule> customPageList(@Param("page") Page page, @Param("paramCondition") YqSetPlateRule paramCondition);

    /**
     * 获取分页map列表
     *
     * @author lyk
     * @Date 2022-11-22
     */
    //Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") YqSetPlateRule paramCondition);

    void getAllDataNeed();

    String getFonds(@Param("fondsCode") String fondsCode);
}
